package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_customer")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CustomerModel {
    @TableId(type = IdType.AUTO)
    public int id;
    public String realName;//真实姓名
    public Integer sex;//1男2女
    public String birthday;//生日
    public String eml;//邮箱
    public String weChat;//微信
    public Timestamp crtTime;//创建时间
    public Timestamp upTime;//修改时间
    @TableField(exist = false)
    public String crtTimeText;//创建时间
    String loginTime;//上次登录时间

    private Integer streetId;//街道id
    @TableField(exist = false)
    private String mobile;
    @TableField(exist = false)
    public String loginTimeText;
    @TableField(exist = false)
    public String sexText;
    @TableField(exist = false)
    public String birthdayText;//生日
    @TableField(exist = false)
    public String education;//学历
    @TableField(exist = false)
    public String educationText;//学历
    @TableField(exist = false)
    public String workTimeStart;

    @TableField(exist = false)
    public String datePerfectStatusText;//资料完善状态字段

    @TableField(exist = false)
    public String workTimeEnd;

    @TableField(exist = false)
    private List<Integer> eduIds;//学历ID集合

    @TableField(exist = false)
    public String workTime;
    @TableField(exist = false)
    public List<PositionModel> postList;

    public int jobStatus;
    //    {value: 1, label: "离职-随时到岗"},
//    {value: 2, label: "在职-月内到岗"},
//    {value: 3, label: "在职-考虑机会"},
//    {value: 4, label: "在职-暂不考虑"},
//学历
    @TableField(exist = false)
    public String jobText;
    //学历
    @TableField(exist = false)
    public UserModel user;
    @TableField(exist = false)
    private Integer state;
    @TableField(exist = false)
    private Integer salaryMin;//最低薪资
    @TableField(exist = false)
    private Integer salaryMax;//最高薪资
    @TableField(exist = false)
    private String eduId;//
    @TableField(exist = false)
    private Integer recruitType;//招聘类型
    @TableField(exist = false)
    private Integer salaryId;//薪资ID
    @TableField(exist = false)
    private Integer expId;//经验ID

    @TableField(exist = false)
    private String postName;

    @TableField(exist = false)
    private Integer post;
    @TableField(exist = false)
    private String regProvince;//省
    @TableField(exist = false)
    private String regCity;//市
    @TableField(exist = false)
    private String regArea;//区县

    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer limit;
    @TableField(exist = false)
    private Integer jobType;
    @TableField(exist = false)
    private List<Integer> jobTypes;
    @TableField(exist = false)
    private Integer level;

    @TableField(exist = false)
    private String fatherCode;
    @TableField(exist = false)
    private Integer age;
    @TableField(exist = false)
    private Integer postId;
    @TableField(exist = false)
    private String keyword;
    @TableField(exist = false)
    private String searchName;
    @TableField(exist = false)
    private JobIntentionModel jobIntentionModels;

    @TableField(exist = false)
    private String streetName;

    @TableField(exist = false)
    private Integer num;

    @TableField(exist = false)
    private String startTime;

    @TableField(exist = false)
    private String endTime;
}
